package com.foton.springbootdemo.event.example;
import com.foton.springbootdemo.event.DomainEventHandler;
import com.foton.springbootdemo.event.example.entity.ZsEquireMacineEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * .
 * <p>
 * 北京云锦汇智信息技术有限公司 版权所有Copyright (C) 2022
 * </p>
 *
 *简介说明: 制丝消息处理器
 * @author 任璞
 * @since 2025/11/20 14:53
 */

@Slf4j
@Component
public class ZsEquireMachineHandler implements DomainEventHandler<ZsEquireMacineEvent> {

 @Override
 public void onApplicationEvent(ZsEquireMacineEvent zsEquireMacineEvent) {
    log.info("接受到领域事件内容,{}",zsEquireMacineEvent.toString());
 }
}
